Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

| Previous | Chapter Contents | Chapter Top | Next |

Chroma Key

kChromaKeyTransitionType ('ckey')

The chroma key effect combines two sources by replacing all the pixels of the first source that are the specified color with the corresponding pixels of the second source. This allows the second source to "show through" the first in those places where the first source is the given color.

This has the effect of putting the second source "behind" the first source, and making the selected color "transparent".

Example:

The chroma key effect takes a maximum of two sources and has one parameter.

Parameters

Use the descriptions below to help you understand what the parameters do. To learn how to use parameter atoms, see "Adding Video Effects to a QuickTime Movie"

Name

Code

QTAtom Type

Description

Key
color

'keyc'

kParameterTypeDataRGBValue

Pixels of this color in the first source will be replaced by pixels from the second source.


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |